home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
System Booster
/
System Booster.iso
/
Archives
/
ForCLI
/
ron12.readme
< prev
next >
Wrap
Text File
|
1996-09-26
|
2KB
|
76 lines
Short: Run On Notification 1.2
Author: slbrbbbh@w250zrz.zrz.TU-Berlin.de (Stefan Le Breton)
Uploader: slbrbbbh@w250zrz.zrz.TU-Berlin.de (Stefan Le Breton)
Type: util/cli (hey, cli is dead this should be shell...)
somebody on IRC #amigager (Kamar) asked for a program that runs a
command, if a file is changed. here it is:
NAME
ron Run On Notification ;)
ARGUMENTS
FILE/A the file to be watched
C=COUNT/K/N the number of changes that should be watched. Default is 1
STAY/S ron should not quit. Whenever the file is changed, the
command will be run. STAY overrides COUNT. Actually COUNT
will be set to 2147483647. I hope this is not insufficient...
(if your file is changed once every second, ron will run about
70 years :-)
EXEC/A/F the command (it maybe a script) with arguments to execute, it
is not required to put it into "". It is the last argument, so
"ron EXEC beep FILE S:startup-sequence"
would NOT work... One %s will be replaced with the name of the
watched file.
STATUS
ron is SUCKSware, if you have a use for it, you have to register by contributing
another piece of SUCKS. Send me an EMail to tell me your use...
REMARKS
ron is pure
SUCKS is *NOT* SASG ! ;)
"ron" itself is *NOT* SUCKS
i'm open for suggestions, as long as you're not requesting TOO much.
(eg a gui).
HISTORY
------27.11.94
0.5 first public release
------01.12.94
1.0 added Commandline options STAY and COUNT. (suggested by Kamar)
added replacing of "%s" in the EXEC String with name of the watched
file. (also Kamar)
1.1 silly bugs fixed... (no i won't tell'em :-)
------02.12.94
1.2 bugfix: now EndNotify() is always called...
AUTHOR
Stefan Le Breton slbrbbbh@w250zrz.zrz.TU-Berlin.de
StElb@IRC (#amigager)
http://w202zrz.zrz.TU-Berlin.de:8000
01.12.94
============================= Archive contents =============================
Original Packed Ratio Date Time Name
-------- ------- ----- --------- -------- -------------
1820 1262 30.6% 02-Dec-94 08:01:30 ron
2042 1024 49.8% 02-Dec-94 08:25:50 ron12.readme
-------- ------- ----- --------- --------
3862 2286 40.8% 08-Dec-94 04:28:02 2 files